# line = ['newline','preline','deadline']
# line[0] = 'badline'
# line.append(1)
# line.insert(0,0)
# print(line)
#
# math = ['math','mathematics',1,2,3]
# print(math)
# print(math[0])
# print(math[0].upper())

# line = ['newline','preline','deadline']
# print(line)
# popline = line.pop()
# print(line)
# del line[0]
# print(line)
# print(popline)

line = ['newline','preline','deadline']
print(line)
abc = 'preline'
bc = line.remove(abc)
print(line)
print(bc)

